package net.jiastudy.biz.sys.service;

import net.jiastudy.biz.sys.entity.File;

import java.util.List;
import java.util.Set;

public interface FileService {

    public File create(File file);

    public boolean delete(Long id);

    public boolean delete(Set<Long> ids);

    public File get(Long id);

    public List<File> findByIds(Set<Long> ids);

    public String getFilePreviewPath(Long fileId, StringBuffer host);
}
